home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / kerberos-faq.user < prev    next >
Text File  |  1995-07-25  |  35KB  |  815 lines

  1. Subject: Kerberos Users' Frequently Asked Questions 1.10
  2. Newsgroups: comp.protocols.kerberos,comp.answers,news.answers
  3. From: bjaspan@cam.ov.com (Barry Jaspan)
  4. Date: 25 Aug 1994 15:55:54 -0400
  5.  
  6. Archive-name: kerberos-faq/user
  7. Version: 1.10
  8.  
  9. Kerberos Users' Frequently Asked Questions
  10. August 25, 1994
  11. Compiled by: Barry Jaspan, <bjaspan@cam.ov.com>
  12.              OpenVision Technologies
  13.  
  14.      Kerberos; also spelled Cerberus.  n.  The watch dog of
  15.      Hades, whose duty it was to guard the entrance--against
  16.      whom or what does not clearly appear; . . . it is known
  17.      to have had three heads. . .
  18.  
  19.         -Ambrose Bierce, The Enlarged Devil's Dictionary
  20.  
  21. This document answers Frequently Asked Questions about the Kerberos
  22. authentication system.  It is freely distributable.  Direct all
  23. responses and questions to bjaspan@cam.ov.com.  Most of the
  24. information presented here has been collected from postings to the
  25. comp.protocols.kerberos newsgroup (gatewayed to the mailing list
  26. kerberos@athena.mit.edu).
  27.  
  28. DISCLAIMER: OpenVision Technologies makes no representations about the
  29. suitability of this information for any purpose.  It is provided "as
  30. is" without express or implied warranty.  In particular, this document
  31. is not intended as legal advice for exporting Kerberos, DES, or any
  32. other encryption software.
  33.  
  34. Release Notes: Answer 1.7 has been updated with information from Joe
  35. Pato.  There is a new entry for TGV, Inc. in the Kerberos vendor list.
  36.  
  37. Questions addressed in this release:
  38.  
  39. 1.  Kerberos and its Many Incarnations
  40. ----------------------------------------------------------------------
  41.  
  42. (1.1)    What is Kerberos?  What is it good for?
  43. (1.2)    Where can I get Kerberos version 4 or 5?
  44. (1.3)    What is the current status of version 4?
  45. (1.4)    What is the current status of version 5?
  46. (1.5)    Are version 4 and version 5 compatible?
  47. (1.6)    How/why is Transarc's Kerberos different from MIT Kerberos V4?
  48.     Can they interoperate?
  49. (1.7)    How/why is OSF DCE Security different from MIT Kerberos V5?
  50.     Can they interoperate?
  51. (1.8)    How/why is DEC Ultrix Kerberos different from MIT Kerberos V4?
  52.     Can they interoperate?
  53. (1.9)    What is Bones?  What is it for?
  54.  
  55. 2.  Using and Administering Kerberos
  56. ----------------------------------------------------------------------
  57.  
  58. (2.1)    Can I use Kerberos for local password validation?
  59. (2.2)    What is the export status of Kerberos?
  60. (2.3)    How can I delete a principal from the database?
  61. (2.4)    What are the officially assigned Kerberos port numbers?
  62. (2.5)    Are there Kerberos versions of telnet and ftpd?
  63.     What other Kerberos clients exist?
  64. (2.6)    Why does rlogin print "Warning: No Kerberos tickets obtained"?
  65. (2.7)    What operating systems has Kerberos been ported to?
  66.     What vendors provide commercial support for Kerberos?
  67.  
  68. 3.  Building and Installing Kerberos
  69. ----------------------------------------------------------------------
  70.  
  71. (3.1)    Why do I get an error message from ld when make_commands is
  72.     executed?
  73. (3.2)    Why doesn't KRB5_defs.h exist when I build version 5?
  74. (3.3)    What is libkrb.a, and why can't ld find it?
  75.  
  76. 4.  Miscellaneous
  77. ----------------------------------------------------------------------
  78.  
  79. (4.1)    List references for Kerberos and network security in general.
  80. (4.2)    Where are archives of comp.protocols.kerberos (a.k.a 
  81.     kerberos@athena.mit.edu)?
  82.  
  83. ======================================================================
  84.  
  85. 1.  Kerberos and its Many Incarnations
  86. ----------------------------------------------------------------------
  87.  
  88. (1.1)    What is Kerberos?  What is it good for?
  89.  
  90. Kerberos is a network authentication system for use on physically
  91. insecure networks, based on the key distribution model presented by
  92. Needham and Schroeder.[3] It allows entities communicating over
  93. networks to prove their identity to each other while preventing
  94. eavsdropping or replay attacks.  It also provides for data stream
  95. integrity (detection of modification) and secrecy (preventing
  96. unauthorized reading) using cryptography systems such as DES.
  97.  
  98. Kerberos works by providing principals (users or services) with
  99. /tickets/ that they can use to identify themselves to other principals
  100. and secret cryptographic keys for secure communication with other
  101. principals.[1] A ticket is a sequence of a few hundred bytes.  These
  102. ticket can then be embedded in virtually any other network protocol,
  103. thereby allowing the processes implementing that protocol to be sure
  104. about the identity of the principals involved.
  105.  
  106. Practically speaking, Kerberos is mostly used in application-level
  107. protocols (ISO model level 7), such as TELNET or FTP, to provide user
  108. to host security.  It is also used, though less frequently, as the
  109. implicit authentication system of data stream (such as SOCK_STREAM) or
  110. RPC mechanisms (ISO model level 6).  It could also be used at a lower
  111. level for host to host security, in protocols like IP, UDP, or TCP
  112. (ISO model levels 3 and 4), although such implementations are
  113. currently rare, if they exist at all.
  114.  
  115. It is important to realize that Kerberos is a one-trick pony.  It
  116. provides for mutual authentication and secure communication between
  117. principals on an open network by manufacturing secret keys for any
  118. requestor and providing a mechanism for these secret keys to be safely
  119. propagated through the network.  Kerberos does not, per se, provide
  120. for authorization or accounting, although applications that wish to
  121. can use their secret keys to perform those functions securely.
  122. Kerberos also does not provide password validation for individual
  123. workstations unless care is taken; see question 2.1.
  124.  
  125. It is also important to understand the using Kerberos on time-sharing
  126. machines greatly weakens its protections, since a user's tickets
  127. are then only as secure as the 'root' account (read: not very).
  128. Furthermore, dumb terminals and most X terminals do not understand the
  129. Kerberos protocol and as a result their cable connections remain
  130. insecure.
  131.  
  132. (1.2)    Where can I get Kerberos version 4 or 5?
  133.  
  134. In the United States and Canada (*), Kerberos is available via
  135. anonymous FTP from athena-dist.mit.edu (18.71.0.38).  For specific
  136. instructions, cd to pub/kerberos and get the file README.KRB4 (for
  137. version 4) or README.KRB5_BETA4 (for version 5).  Note that *YOU WILL
  138. NOT BE ABLE TO RETRIEVE KERBEROS WITHOUT READING THIS FILE*.
  139.  
  140. Outside the United States, you can get Bones via anonymous ftp from
  141. ftp.funet.fi (128.214.6.100) in pub/unix/security/kerberos.  A DES
  142. library is available from the same place.  See question 1.9 for
  143. information on Bones.
  144.  
  145. (*) Kerberos and DES can be exported to Canada.  See question 2.2.
  146.  
  147. (1.3)    What is the current status of version 4?
  148.  
  149. With the release of patch level 10 on December 10, 1992, MIT Kerberos
  150. 4 is now in its final form.  MIT does not anticipate ever making a new
  151. Kerberos 4 release.
  152.  
  153. Several vendors provide their own versions of Kerberos which may
  154. contain improvements or extensions; see question 2.7.
  155.  
  156. (1.4)    What is the current status of version 5?
  157.  
  158. The newest version of MIT Kerberos V5 is beta 4 patchlevel 2, released
  159. 10 August 1994.  It contains numerous bug fixes, a new build system
  160. based on autoconf rather than imake, hand-coded ASN.1 parsers so that
  161. ISODE is not required, and many other additions and improvements.  MIT
  162. tested it on Ultrix, SunOS, Solaris, and Linux, and it has already
  163. been ported to other platforms.  
  164.  
  165. See question 1.2 for instructions on acquiring it.
  166.  
  167. (1.5)    Are version 4 and version 5 compatible?
  168.  
  169. No.  Versions 4 and 5 are based on completely different protocols.
  170. The MIT Kerberos V5 distribution contains some compatibility code,
  171. however: (a) there is a library which converts Kerberos V4 library
  172. calls into Kerberos V5 requests, so you can run many V4 programs in a
  173. V5 environment by relinking; (b) the Kerberos server can optionally
  174. service V4 requests; (c) there is a program to convert a V4 format
  175. Kerberos database to a V5 format database.  The names used by the V5
  176. library have a prefix "krb5_" so they do not conflict with the V4
  177. library.
  178.  
  179. (1.6)    How/why is Transarc's Kerberos different from MIT Kerberos V4?
  180.     Can they interoperate?
  181.  
  182. This is a fairly complex question, and this answer is known to be
  183. incomplete.  The issue is regularly discussed on the
  184. info-afs-kerberos@transarc.com mailing list; send mail to the -request
  185. list for subscriptions.
  186.  
  187. Years ago, the designers of AFS decided to implement their own
  188. security system based on the Kerberos specification instead of using
  189. the (then, not yet publicly available) MIT Kerberos V4.  As a result,
  190. Transarc's AFS Kerberos speaks a different protocol but also
  191. understands the MIT Kerberos V4 protocol.  They can, in principal,
  192. talk to each other; however, there are a sufficient number of annoying
  193. details and an insufficient number of advantages such that it may not
  194. be practical.
  195.  
  196. The two versions use a different string-to-key function (the algorithm
  197. that turns a password into a DES key); the AFS version uses the realm
  198. name as part of the computation while the MIT version does not.  A
  199. program that uses a password to acquire a ticket (e.g.  kinit or
  200. login) will only work with one version, unless it is hacked up to try
  201. both string-to-key algorithms.
  202.  
  203. The two versions also use a different method of finding Kerberos
  204. servers.  MIT Kerberos uses krb.conf and krb.realms to map hostnames
  205. to realms and realms to Kerberos servers.  AFS kaservers for a realm,
  206. by definition, are located on the AFS database servers and can
  207. therefore be located using /usr/vice/etc/CellServDB.  This means that
  208. a program built using the MIT Kerberos libraries will look in one
  209. place for the information while a program built using the AFS Kerberos
  210. libraries will look in another.  You can certainly set up all three
  211. files and use both libraries, but be sure that everything is
  212. consistent.
  213.  
  214. The two versions have a different password changing protocol, so you
  215. must use the correct 'kpasswd' program for the server you are talking
  216. to.  In general, AFS clients that talk directly to the kaserver use an
  217. Rx-based protocol, instead of UDP as with MIT Kerberos, so those AFS
  218. clients cannot talk to an MIT server.
  219.  
  220. In summary, AFS Kerberos and MIT Kerberos can interoperate once you've
  221. acquired a ticket granting ticket, which you can do with kinit (MIT)
  222. or klog (AFS).  With a tgt, Kerberos applications such as rlogin can
  223. talk to an MIT or AFS Kerberos server and achieve correct results.
  224. However, it is probably best to pick one implementation and use it
  225. exclusively
  226.  
  227. (1.7)    How/why is OSF DCE Security different from MIT Kerberos V5?
  228.     Can they interoperate?
  229.  
  230. DCE Security is based on Kerberos V5, and uses the same wire protocol.
  231. However, applications from two systems use the protocol in different
  232. ways, so the actual interoperability is limited.  Furthermore, DCE
  233. Security started from an early alpha release of V5 and the two
  234. versions have developed independently; there are therefore some minor
  235. incompatibilities that MIT and the OSF have agreed to resolve.  [Time
  236. frame?]
  237.  
  238. The DCE Security Server, secd, listens on UDP port 88 for standard
  239. Kerberos requests and responds appropriately.  Therefore, clients of
  240. MIT Kerberos can operate in a DCE environment without modification,
  241. assuming the DCE Security database contains the appropriate principals
  242. with the correct keys.
  243.  
  244. An MIT Kerberos V5 server cannot replace the DCE Security Server,
  245. however.  First, DCE applications communicate with secd via the DCE
  246. RPC.  Second, the DCE security model includes a Privilege Server (PS)
  247. that fills in the authorization field of a principal's ticket with
  248. DCE-specific data, and the DCE Security Server has a PS built in.  In
  249. order for the MIT Kerberos V5 server to support DCE clients it would
  250. need to talk to a stand-alone PS and, although the necessary
  251. information is available, no such PS presently exists.
  252.  
  253. As an additional complication, the DCE does not officially export the
  254. Kerberos V5 API; it only exports a DCE Security-specific API.
  255. Individual vendors are capable of providing the Kerberos V5 API if
  256. they wish, but unless they all do (which seems unlikely) Kerberos V5
  257. API applications will not be compile-time portable to pure DCE
  258. environments; only binaries will continue to work.
  259.  
  260. [Does secd provide all features of the MIT Kerberos server?  Is it
  261. guaranteed to do so?]
  262.  
  263. (1.8)    How/why is DEC Ultrix Kerberos different from MIT Kerberos V4?
  264.     Can they interoperate?
  265.  
  266. DEC ULTRIX contains Kerberos for a single reason, namely, to provide
  267. authenticated name service for the ULTRIX enhanced security option.
  268. It does not support user-level authentication in the normal manner.
  269.  
  270. DEC's version is essentially the same as (and derived from) MIT
  271. Kerberos V4 with a few changes.  The most significant change is that
  272. the ability to perform any kind of end-to-end user data encryption has
  273. been eliminated in order to comply with export restrictions.  Minor
  274. changes include the placement of ticket files (/var/dss/kerberos/tkt
  275. vs. /tmp) and the principal names used by some standard Kerberos
  276. services (e.g.: kprop vs. rcmd); there are probably other minor
  277. changes as well.
  278.  
  279. These changes make it annoying but not impossible to use DEC ULTRIX
  280. Kerberos in the normal way.  However, there is no reason at all to do
  281. so, because the MIT distribution supports ULTRIX directly.  [This may
  282. not be completely true.  I imagine that using ULTRIX Kerberos for
  283. enhanced security and MIT's Kerberos at the same time would cause
  284. problems.  Has anyone tried this?]
  285.  
  286. (1.9)    What is Bones?  What is it for?
  287.  
  288. Bones is a system that provides the Kerberos API without using
  289. encryption and without providing any form of security whatsoever.  It
  290. is a fake that allows the use of software that expects Kerberos to be
  291. present when it cannot be.
  292.  
  293. Why does it exist?  Kerberos is a network security system which relies
  294. on cryptographic methods for its security.  Since Kerberos' encryption
  295. system, DES, is not exportable, Kerberos itself cannot be exported or
  296. used outside of the United States in its original form.  (See question
  297. 2.2 for more information.)
  298.  
  299. As a partial solution to this problem, the Kerberos source code was
  300. modified by the addition of #ifdef NOENCRYPTION around all calls to
  301. DES functions.  Compiling this version with the symbol NOENCRYPTION
  302. defined results in a system that looks like Kerberos from an
  303. application's point of view but that does not require DES libraries
  304. (and, as a result, does not speak the real Kerberos protocol and does
  305. not provide any security).
  306.  
  307. The final piece in this puzzle is a program called "piranha" which
  308. takes the Kerberos sources and removes all of the calls to the
  309. encryption routines, replacing it with the code which was under #ifdef
  310. NOENCRYPTION, producing the system known as Bones.  Bones has the
  311. property that there is absolutely no question about whether or not it
  312. is legal to transport its sources across national boundaries, since it
  313. neither has any encryption routines nor any calls to encryption
  314. routines.
  315.  
  316. #ifdef NOENCRYPTION was not documented, and it was only intended to be
  317. used in the above manner.  Someone who tries compiling Kerberos with
  318. that #define has in some sense "voided the warranty", and will get
  319. something which is both (a) not secure and (b) not Kerberos.
  320.  
  321. 2.  Using and Administering Kerberos
  322. ----------------------------------------------------------------------
  323.  
  324. (2.1)    Can I use Kerberos for local password validation?
  325.  
  326. Yes, but only under certain circumstances and only if you are
  327. careful.
  328.  
  329. Requests for Kerberos ticket granting tickets (tgts) (e.g. from kinit
  330. or login) are sent in plaintext to the Kerberos server, which then
  331. responds with credentials encrypted in the requesting principal's
  332. secret key.  The program then attempts to decrypt the data with the
  333. supplied password and considers the authentication "successful" if the
  334. decryption appears to yield meaningful results (such as the correct
  335. principal name).
  336.  
  337. The problem here is that the requesting program cannot know for sure
  338. whether the decryption succeeded or, more importantly, whether the
  339. response actually came from the Kerberos server.  An attacker could,
  340. for example, walk up to an unattended machine and "log in" as a
  341. non-existent user.  Kerberos will eventually respond with an
  342. appropriate error, but the attacker can arrange for another program to
  343. deliver a fake response to login first; he then types the correct
  344. password (which he knows because he created the fake response in the
  345. first place) and succeeds in spoofing login.
  346.  
  347. The solution to this problem is for login to verify the tgt by using
  348. it to acquire a service ticket with a known key and comparing the
  349. results.  Typically, this means requesting an rcmd.<hostname> ticket,
  350. where <hostname> is the local hostname, and checking the response
  351. against the key stored in the machine's /etc/srvtab file.  If the keys
  352. match then the original tgt must have come from Kerberos (since the
  353. key only exists in the srvtab and the Kerberos database), and login
  354. can allow the user to log in.
  355.  
  356. The solution works only so long as the host has a srvtab containing an
  357. rcmd.<hostname> (or any other standard principal) entry.  This is fine
  358. for physically secure or single-user workstations, but does not work
  359. on public workstations in which anyone could access the srvtab file.
  360.  
  361. (2.2)    What is the export status of Kerberos?
  362.  
  363. [ This answer was written by John Gilmore of Cygnus Support.  It is
  364. not intended as legal advice and may contain errors. ]
  365.  
  366. The export status of Kerberos is unclear, largely because the export
  367. regulations are unclear in general.  There's an overview of cryptography
  368. export cases in http://www.cygnus.com/~gnu/export.html .
  369.  
  370. Export of technology is controlled by both the State Department and by
  371. the Commerce Department.  The two agencies' jurisdictions don't
  372. actually legally overlap, but nobody really knows which agency has
  373. jurisdiction over which products.  So there is a process by which you,
  374. as a potential exporter, can ask the State Department which agency
  375. controls your particular export.  It's called a Commodity Jurisdiction
  376. Request or CJR.  There is a "CJR Kit" for helping you to file CJR's
  377. available at ftp://ftp.cygnus.com/pub/export/cjr.kit .
  378.  
  379. The State Department has the power to regulate exports of even
  380. publicly available (published) materials, in apparent contradiction to
  381. the First Amendment.  The Commerce Department regulations (Commerce
  382. Control List) specifically exempts publicly available materials from
  383. export controls (section 779.3), allowing their export under `General
  384. License' GTDA, which requires no paperwork and is usable by everyone
  385. except a few hundred people or companies who have abused export
  386. controls in the past.  The State Department regulation (International
  387. Traffic in Arms Regulations, or ITAR) exempts `public domain
  388. information' (22 CFR 120.11) but fails to define `information'.  The
  389. State Department takes the position that software is not
  390. `information'.
  391.  
  392. Kerberos is an authentication system, and export of authentication
  393. software and hardware is controlled by the Commerce Department.
  394. However, the State Department has never formally said where the line
  395. between authentication and encryption is, so they are also apparently
  396. interested in Kerberos.
  397.  
  398. Cygnus Support filed a CJR for the Kerberos Bones software, and got
  399. back a formal notification that it was controlled by the Commerce
  400. Dept.  We then filed a CCATS request with the Commerce Department, and
  401. eventually found out that it is exportable to all destinations without
  402. paperwork under the GTDA license (because it is `publicly available'
  403. without charge on the Internet).  The formal documents are in
  404. ftp://ftp.cygnus.com/pub/export .  This just confirms what we all
  405. suspected anyway -- if you take the crypto out of Kerberos (which is
  406. how the Bones were generated), it's exportable.  The Bones are
  407. available at ftp://athena-dist.mit.edu/pub/kerberos; look at
  408. README.ftp for instructions.
  409.  
  410. Several companies, including DEC, have apparently gotten export
  411. licenses for *binaries* of Kerberos.  The DECathena product is
  412. licensed this way.  However, they had to make unspecified changes to
  413. the code, removing entry points that would allow people to do
  414. arbitrary encryption.
  415.  
  416. As for the exportability of full strength Kerberos in source code,
  417. nobody has apparently applied for this.  (Please let us know if
  418. you know of a case.)
  419.  
  420. I believe that the best bet for threading the export maze is to define
  421. and defend Kerberos as an authentication product, to get it past the
  422. State Department, and then to show that it is publicly available, to
  423. get it past the Commerce Department.  To do this, you actually have to
  424. be trying to export a publicly available version of Kerberos, though.
  425.  
  426. There is a bill pending in U.S. Congress, HR 3627, by Rep. Maria
  427. Cantwell, which would make export of Kerberos (and all other mass
  428. market and publicly available crypto software) legal.  Statements of
  429. support sent by email to `cantwell@eff.org' will be forwarded to Ms.
  430. Cantwell.  So far more than 5,000 such statements have been forwarded.
  431. More info on the bill is available at
  432. ftp://ftp.eff.org/Alerts/berman_cantwell.alert .  See also
  433. ftp://ftp.eff.org/eff/Issues/Crypto and Issues/Export .
  434.  
  435. Canada is considered a part of the United States for export control
  436. purposes so Kerberos can be exported to Canada without problems.
  437.  
  438. As for other countries besides the U.S., few countries control the
  439. export of encryption software, and even fewer control the import or
  440. use of encryption inside their countries.  Most of the countries that
  441. signed the COCOM treaty, before it was dissolved, controlled
  442. cryptography as a ``dual use'' item, meaning that commercial products
  443. that use crypto are fine, but military products are controlled as
  444. weapons.  There is a master list of crypto export control regulations
  445. compiled by George Washington University researchers, available from
  446. the Software Publishers' Association.
  447.  
  448. Copies of the Kerberos Bones with DES routines and calls added back in
  449. by foreign programmers are called `eBones', and are available by
  450. anonymous FTP from machines in Sweden, Germany, Israel, Finland,
  451. Australia, and France (so far); check with "archie".
  452.  
  453. (2.3)    How can I delete a principal from the database?
  454.  
  455. MIT Kerberos V4 does not include a single command to delete a Kerberos
  456. principal.  This was an intentional omission based on the assumption
  457. that by making deletion difficult, accidents were less likely to
  458. happen.  If you want to delete a principal, do "kdb_util dump", edit
  459. the ASCII dump with an editor, and do a "kdb_util load".  Obviously,
  460. you can write a shell script to make this more convenient.
  461.  
  462. The admin tools for AFS Kerberos, MIT Kerberos V5, and the DCE
  463. Kerberos have a simple delete request.
  464.  
  465. (2.4)    What are the officially assigned Kerberos port numbers?
  466.  
  467. The file src/prototypes/services.append in the MIT Kerberos
  468. distribution contains the commonly used port assignments.  This file
  469. is not the whole story, however.
  470.  
  471. "kerberos" has officially been moved to port 88, although people will
  472. have to listen on port 750 for some time to come, and assume
  473. that many servers won't be converted to listen to port 88 for some
  474. time.
  475.  
  476. "kerberos_master" and "krb_prop" have not been reserved, but they are
  477. only used for intra-site transactions so having them reserved probably
  478. isn't necessary.  Furthermore, both of their port numbers have already
  479. been assigned to other services, so requesting an official assignment
  480. will force them to change.
  481.  
  482. "eklogin", "kpop", and "erlogin" have not been officially reserved,
  483. but probably should be.  Their ports are not currently assigned to
  484. other services, so hopefully they will not have to change if an
  485. official assignment is requested.
  486.  
  487. (2.5)    Are there Kerberos versions of telnet and ftpd?
  488.  
  489. (a) TELNET.  An experimental Telnet Authentication Option has been
  490. defined, and is described in RFC1416.  A separate document, RFC1411,
  491. describes how that option is to be used with Kerberos V4, but no RFC
  492. exists for its use with Kerberos V5.  These RFC's only define how
  493. /authentication/ is to be performed; the standard for full encryption
  494. is still under development.
  495.  
  496. An implementation of Kerberos V4 telnet is available via anonymous ftp
  497. from ftp.uu.net, in /networking/telnet.91.03.25.tar.Z, but it predates
  498. both of the above-mentioned RFCs and is therefore almost certainly not
  499. compliant with them.  A Kerberos V5 telnet implementation, based on
  500. the 4.4BSD telnet/telnetd, also exists but has been temporarily
  501. removed from the MIT V5 beta 2 release (probably because it also does
  502. not comply with the proposed standards).
  503.  
  504. (b) FTP.  The IETF Common Authentication Technology (CAT) Working
  505. Group has published the Internet Draft "FTP Security Extensions"
  506. <draft-ietf-cat-ftpsec-05.txt> which defines Kerberos V4 and GSS-API
  507. authentication systems.  Source code for a Kerberos V4 ftp/ftpd with
  508. the extensions is available via anonymous FTP:
  509.  
  510.     thumper.bellcore.com:pub/lunt/ftp_ftpd.tar.Z
  511.  
  512. Please note that the extensions are still in the Draft stage and may
  513. change at any time, in incompatible ways.
  514.  
  515. (2.6)    Why does rlogin print "Warning: No Kerberos tickets obtained"?
  516.  
  517. Kerberos rlogin uses a standard Kerberos exchange to prove the
  518. identity of the user to the remote host, after which it uses the
  519. /etc/passwd and a .klogin file to determine whether the user is
  520. authorized to log in.
  521.  
  522. Since the user never types a password, klogind on the remote host
  523. cannot obtain a new ticket granting ticket.  The user's existing tgt
  524. cannot be used on the remote host, because MIT Kerberos V4 tickets are
  525. host-specific.  Therefore, even though the user has logged in to the
  526. remote host, there is no ticket granting ticket for the user available
  527. on the remote host.  The warning message is merely a reminder of this
  528. fact.
  529.  
  530. The most recent release of MIT Kerberos V4 (patchlevel 10) contains a
  531. system called "rkinit" that allows a user to obtain a ticket granting
  532. ticket on a remote machine.  Using this system, it is possible first
  533. to obtain a tgt on a machine and then log into it with Kerberos
  534. rlogin, thereby achieving a secure remote login with tickets.
  535. Alternatively, you use Kerberos V5 which has forwardable tickets.
  536. However, forwardable tickets do not seem to work in the current
  537. release of MIT Kerberos V5.
  538.  
  539. (2.7)    What operating systems has Kerberos been ported to?
  540.     What vendors provide commercial support for Kerberos?
  541.  
  542. The Kerberos vendor's list is maintained as a public service and is
  543. not intended as advertising.  Any vendor can submit an entry.  Entries
  544. will be edited for form and style.  Obviously, all of the "Added
  545. value" sections are incomplete; call the vendor for details.
  546.  
  547. NOTE: The current author of this list works for OpenVision
  548. Technologies, Inc.
  549.  
  550. ----------------------------------------
  551.  
  552. Vendor:        Cygnus Support
  553. Product:    Cygnus Network Security (CNS)
  554. Contact:    Simon Elphick
  555.         +1 415 903 1400  voice
  556.         +1 415 903 0122  fax
  557.         network-security@cygnus.com
  558. Last update:    4/20/94
  559.  
  560. Base version:    MIT Kerberos 4
  561. Added value:
  562.  
  563.     o technical support
  564.     o easier configuration and building
  565.     o much improved documentation
  566.     o many bug fixes
  567.     o full source code and easy-to-install binaries provided
  568.     o still freely available sourceware -- not proprietary
  569.  
  570. Availability:
  571.  
  572.     SPARC / SunOS 4.1.3:        available
  573.     SPARC / Solaris 2.3:        available
  574.     Sun-3 / SunOS 4.x        available
  575.     DECstation / Ultrix 4.2a    available
  576.     IBM RS/6000 / AIX 3.2        available
  577.     SGI / IRIX 4 and 5        available
  578.     i386 / SCO 3.2v4        available
  579.     HPPA / HPUX 8.07        available
  580.  
  581.     PC / Windows 3.1        beta test July '94 (client only)
  582.     Macintosh / System 7        beta test July '94 (client only)
  583.  
  584. Free availability of the CNS software:
  585.  
  586.     To obtain a copy of Cygnus Network Security, fax a request to:
  587.         +1 415 903 0122
  588.  
  589.     To satisfy export restrictions, the fax should state that you are a
  590.     U.S./Canadian citizen or permanent resident, and that the software is
  591.     exclusively for use in the United States/Canada.
  592.  
  593.     Cygnus will reply with information on how to access the CNS source,
  594.     binaries and documentation through anonymous ftp.
  595.  
  596. Future plans:
  597.     o MIT Kerberos 5 in December 94
  598.  
  599. ----------------------------------------
  600.  
  601. Vendor:        Digital Equipment Corporation
  602. Product:    DECathena
  603. Contact:    Susanna Wood
  604.         (508) 952-4399
  605.         wood@athena.tay.dec.com
  606. Last update:    4/11/94
  607.  
  608. Base version:    MIT Kerberos 4
  609.  
  610.     o integration into DECathena
  611.     o available world-wide
  612.  
  613. Availability:
  614.  
  615.     Alpha AXP OSF/1        available
  616.     DECstation Ultrix 4.x    available
  617.     VAXstation Ultrix 4.x    available
  618.     SunOS 4.x        available
  619.     HP-UX            available (client only)
  620.     RS/6000 AIX        available (client only)
  621.     MS-DOS            available (client only)
  622.     Windows            available (client only)
  623.  
  624. Notes:
  625.     o requires INGRES/SQL
  626.     o requires PC-NFS with MS-DOS or Windows
  627.  
  628. Future plans:
  629.     o MIT Kerberos 5
  630.  
  631. ----------------------------------------
  632.  
  633. Vendor:        OCSG, CyberSAFE Corporation
  634. Product;    OCSG Kerberos
  635. Contact:    Gene Egan
  636.         (206) 883-8721
  637.         genee@ocsg.com
  638. Last update:    4/1/94
  639.  
  640. Base version:    MIT Kerberos 5
  641. Added value:
  642.  
  643.     o forwardable tickets from rlogin, rcp, and rsh
  644.     o Kerberos 4 compatibility for rlogin, rcp, and rsh
  645.     o installation system
  646.     o administration GUI
  647.     o token card integration (Security Dynamics SecureID Card)
  648.     o DEC GSS-API
  649.  
  650. Availability:
  651.  
  652.     SunOS 4.x:        available
  653.     Solaris 2.3:        available
  654.     IBM RS/6000 AIX 3.2.5:    available
  655.     HP 9000 HP-UX 9.0:    available
  656.     NEXTSTEP 3.2 for Intel:    available
  657.     DEC Ultrix 4.3:        available
  658.  
  659.     Microsoft Windows 3.1:    available
  660.     MS-DOS 6.0:        available
  661.     Macintosh System 7:    available
  662.     OS/2:            available in May '94
  663.     NT:            available in June '94
  664.  
  665. Future plans:
  666.     o Support for additional platforms
  667.     o Kerberos Telnet, FTP, and AFS
  668.  
  669. ----------------------------------------
  670.  
  671. Vendor:        OpenVision Technologies, Inc.
  672. Product:    OpenV*Secure
  673. Contact:    Gregg Lebovitz
  674.         (617) 374-3700 (voice)
  675.         (617) 374-3715 (fax)
  676.         gregg@cam.ov.com
  677. Last update:    4/20/94
  678.  
  679. Base version:    MIT Kerberos 5
  680. Added value:
  681.  
  682.     o administration server (not based on Sandia's kadmin)
  683.     o easy-to-use remote administration GUI
  684.     o security policies (password minimum and maximum lifetime,
  685.     expiration, minimum length, character class mix, and history)
  686.     o Kerberos 4 compatibility
  687.     o OpenVision GSS-API (now part of the standard MIT release)
  688.     o Full documentation set
  689.     o 24x7 support
  690.  
  691. Availability:
  692.     
  693.     SunOS 4.1.3:    available
  694.     Solaris 2.3:    available
  695.     HP-UX 9.01:    available
  696.     AIX 3.2:    available
  697.  
  698. Future plans:
  699.     o FTP security with GSS-API
  700.     o Authorization
  701.     o Integration with other OpenVision products
  702.  
  703. ----------------------------------------
  704.  
  705. Vendor:        TGV, Inc.
  706.           101 Cooper Street
  707.           Santa Cruz, CA  95060
  708. Product:    MultiNet V3.3
  709. Contact:    (408) 457-5200
  710.         sales@tgv.com, info@tgv.com
  711. Last update:    7/15/94
  712.  
  713. Base version:    MIT Kerberos 4
  714.  
  715. Availability:
  716.     
  717.     DEC OpenVMS (VAX and Alpha AXP): available
  718.  
  719. 3.  Building and Installing Kerberos
  720. ----------------------------------------------------------------------
  721.  
  722. (3.1)    Why do I get an error message from ld when make_commands is
  723.     executed? 
  724.  
  725. The make_commands program (from the file util/ss/make_commands.c,
  726. around line 101) spawns ld as part of its normal operation.  The
  727. arguments to ld are hard-coded into the exec() call and are not
  728. correct for all systems.  To fix the problem, examine the call and
  729. determine the correct arguments for your environment; once you know
  730. the correct arguments, the change to the source code will be obvious.
  731.  
  732. (3.2)    Why doesn't KRB5_defs.h exist when I build version 5?
  733.  
  734. KRB5_defs.h, and other files like KRB5_tables.c, KRB5-types.h, and
  735. KRB5_pre_defs.h are created by the ISODE ASN.1 compiler, pepsy, from
  736. KRB5.py.  You therefore need to have ISODE built and you have to
  737. configure your site.def file so that the Makefiles know how to run the
  738. pepsy compiler.
  739.  
  740. Note that there's a bug in Sun's imake/cpp setup, so the Makefile that
  741. is generated in lib/asn.1 is broken.  KRB5-types.h is generated by the
  742. ISODE program pepsy; look in the makefile just before pepsy is called.
  743. It's fairly obvious where a tab character is missing.
  744.  
  745. (3.3)    What is libkrb.a, and why can't ld find it?
  746.  
  747. The MIT Kerberos V5 server (krb5kdc) can operate in a V4 compatibility
  748. mode in which it accepts and responds to standard V4 requests (see
  749. question 1.5).  In order to do so, it needs the V4 Kerberos library,
  750. libkrb.a.  That library is not part of the V5 distribution.  It is
  751. assumed that if you want V4 compatibility you already have V4 built
  752. and installed; see question 1.2 for information on obtaining V4.
  753.  
  754. To get krb5kdc to link properly, set the KRB4LIB variable in site.def
  755. to the path of your V4 library.  If you do not need V4 backwards
  756. compability, comment out the definition of Krb4KDCCompat in site.def.
  757. (Be sure to run "make clean" after changing anything in site.def to
  758. make sure everything is rebuilt correctly according to the new
  759. parameters.)
  760.  
  761. 4.  Miscellaneous
  762. ----------------------------------------------------------------------
  763.  
  764. (4.1)    List references for Kerberos and network security in general.
  765.  
  766. See the bibliography at the end of this document.
  767.  
  768. (4.2)    Where are archives of comp.protocols.kerberos (a.k.a 
  769.     kerberos@athena.mit.edu)?
  770.  
  771. Archives are available via anonymous FTP from athena-dist.mit.edu in
  772. the directory pub/kerberos/krb-mail.  The kerberos@athena.mit.edu
  773. archives prensently extend up to the end of 1992.  Some archives of
  774. the kerberos protocol mailing list are also available.
  775.  
  776. ----------------------------------------------------------------------
  777.  
  778. BIBLIOGRAPHY
  779.  
  780. The FTP site for a reference, when known, is listed in square brackets
  781. following the entry.  Yes, I know that these are not in Officially
  782. Blessed Bibliography Format.  Sue me.
  783.  
  784. [1] Jennifer G. Steiner, Clifford Neuman, Jeffrey I. Schiller.
  785. "Kerberos: An Authentication Service for Open Network Systems", USENIX
  786. Mar 1988.  [athena-dist.mit.edu:pub/kerberos/doc/usenix.PS]
  787.  
  788. [2] S. P. Miller, B. C. Neuman, J. I. Schiller, and J. H. Saltzer,
  789. "Kerberos Authentication and Authorization System", 12/21/87.
  790.  
  791. [3] R. M. Needham and M. D.  Schroeder, "Using Encryption for
  792. Authentication in Large Networks of Computers," Communications of the
  793. ACM, Vol.  21(12), pp. 993-999 (December, 1978).
  794.      
  795. [4] V. L. Voydock and S. T. Kent, "Security Mechanisms in High-Level
  796. Network Protocols," Computing Surveys, Vol.  15(2), ACM (June 1983).
  797.  
  798. [5] Li Gong, "A Security Risk of Depending on Synchronized Clocks",
  799. Operating Systems Review, Vol 26, #1, pp 49--53.
  800.  
  801. [6] S.M. Bellovin and M. Merritt, "Limitations of the Kerberos
  802. Authentication System," USENIX Jan 1991.
  803. [research.att.com:dist/internet_security/kerblimit.usenix.ps]
  804.  
  805. [7] Refik Molva, Gene Tsudik, Els Van Herreweghen, and Stefano Zatti,
  806. "KryptoKnight Authentication and Key Distribution System."
  807. [jerico.usc.edu:pub/gene/kryptoknight.ps.Z]
  808.  
  809. [8] C. Neumann and J. Kohl, "The Kerberos Network Authentication
  810. Service (V5)," RFC 1510, September 1993.
  811. -- 
  812. Barry Jaspan, bjaspan@security.ov.com
  813. OpenVision Technologies
  814.  
  815.